Page History: Empty Object
Compare Page Revisions
Page Revision: 2010/11/27 00:09
Empty Object
An empty object is a 'read only' object that is automatically created by Jetfire as required on a per class basis.
Assigning Empty
Workflows are automatically assigned to the empty object. For example
MyClass myObject; // is really MyClass myObject = MyClass.Empty();
Testing for Empty
Empty object can be tested using the follow contructs:
if (myObject == MyClass.Empty()) ...
or
if (isEmpty(myObject))...
Modifying an Empty Object
A 'Empty' object is a 'read only' object and can not be modified currently in Jetfire code. It can be modified by editing the XML representation of the empty object found in the
Server Nexus persistent storage mechanism.